package cn.tedu.spring.bean;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

// 等价于: <bean id="user" class="cn.tedu.spring.bean.User">
// value可以不写，默认为 类名首字母小写
//@Component(value = "user")
//@Controller
//@Service
@Repository
public class User {
}








